
/*
 * .
 * All Rights Reserved.
 */
package com.model.demo.designmodel.singleton;

/**
 * LazyInnerSingleton
 *
 * @author Liao Dongshan, 2019年05月10日
 *
 */
public class LazyInnerSingleton {
    private LazyInnerSingleton(){};
    public static LazyInnerSingleton getInstance(){
       return InnerSingleton.singleton;
    }
    private static class InnerSingleton{
        private static LazyInnerSingleton singleton=new LazyInnerSingleton();

    }

}
